package com.test.springCloud.service;

import com.alibaba.fastjson.JSONObject;

import javax.servlet.http.HttpServletRequest;

public interface ArticleService {

    String addArticle(JSONObject req, HttpServletRequest request);

    String getAllArticle(Integer page,Integer limit);

    String getArticleByid(Integer page,Integer limit,Integer newsClassId);

    String updateArticleByid(JSONObject req, HttpServletRequest request);

    String deleteArticleById(JSONObject req, HttpServletRequest request);
}
